package smarthouse.dto;

import java.io.Serializable;

/**
 * The persistent class for the user database table.
 * 
 */

public class UserDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	private int userId;

	private String name;

	private String password;

	private String username;

	private String userType;

	private int privilege;

	// uni-directional many-to-one association to House

	private int house;

	/**
	 * Default constructor
	 */
	public UserDTO() {
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public int getPrivilege() {
		return privilege;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setPrivilege(int privilege) {
		this.privilege = privilege;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public int getUserId() {
		return this.userId;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setUserId(int userId) {
		this.userId = userId;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public String getPassword() {
		return this.password;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public String getUsername() {
		return this.username;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public String getUserType() {
		return this.userType;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setUserType(String userType) {
		this.userType = userType;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public int getHouse() {
		return this.house;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setHouse(int house) {
		this.house = house;
	}

}